<cfset XTemplate = createObject("component","XTemplate")>
<cfset data = {
	label = "Test",
	children = ["Juliana","Bebe","Diego","Octavio","Julia"],
	pets = [{type="dog",label="Tania"}],
	teams = [
		{roster=["cristos","kyra","Chloe","Stav"]}
	]
}>
<cfsavecontent variable="htmlTpl">
	<h1>{label}</h1>
	<table border="1">
		<tpl for="children">
		<tr>
			<td>{.}</td>
		</tr>
		</tpl>
		<tpl for="teams">
		<tr>
			<td><tpl for="roster"><b>{.}</b>,</tpl></td>
		</tr>
		</tpl>
	</table>
</cfsavecontent>
<cfset tpl = XTemplate.init(htmlTpl)>
<cfset tpl.set(data)>
<cfoutput>#tpl.render()#</cfoutput>